<template>
	<view class="layout">
		子组件
	</view>
</template>

<script setup>
	import { onUnmounted, ref } from 'vue';

	onUnmounted(()=> {
		console.log("子组件被卸载了。")
	})
</script>

<style lang="scss" scoped>

</style>